import 'package:library_base/entities/generated/json/base/json_field.dart';
import 'package:library_base/entities/generated/json/in_order_page_detail_entity.g.dart';
import 'dart:convert';
import 'package:library_base/entities/in_order_page_detail_child_entity.dart';

@JsonSerializable()
class InOrderPageDetailEntity{

  late List<InOrderPageDetailChildEntity> details;

  late String id;
  late String warehouseId;

  InOrderPageDetailEntity();

  factory InOrderPageDetailEntity.fromJson(Map<String, dynamic> json) => $InOrderPageDetailEntityFromJson(json);

  Map<String, dynamic> toJson() => $InOrderPageDetailEntityToJson(this);

  @override
  String toString() => json.encode(this);

}


